#include <iostream>
#include <string>
using namespace std;
int main()
{
    int a = 1950;
    int pre = 91;
    while (a <= 2021)
    {
        if ((a % 4 == 0 && a % 100 != 0) || (a % 100 == 0 && a % 400 != 0))
        {
            pre += 366;
        }
        else
            pre += 365;
        a += 1;
    }
    cout << pre;
}